class OrderObserver < ActiveRecord::Observer
def after_save(an_order)
  an_order.logger.info("Order #{an_order.id} created")
end
end